package com.baosight.risk.mapper.api;

import com.baosight.risk.service.zbaa.entity.ZbaaTarget;
import com.baosight.risk.service.zbaa.entity.ZbaaTargetValue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 侯湘锦
 * @create 2020/10/14 10:10
 */
@Mapper
public interface HuaBaoMapper {
    ZbaaTarget getTargetByTargetNo(@Param("targetNo") String targetNo);

    List<ZbaaTargetValue> getLastZbaaTargetInfo(@Param("targetNo") String targetNo, @Param("sysSource") String sysSource, @Param("compCode") String compCode, @Param("periodNo") String periodNo, @Param("limitCount") String limitCount);

    //获取历史数据 时间范围
    List<ZbaaTargetValue> getValue(@Param("targetNo") String targetNo, @Param("sysSourceList") List<String> sysSourceList, @Param("compCodeList") List<String> compCodeList, @Param("startTime") String startTime, @Param("endTime") String endTime);


}
